package com.wpp.Test;

import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyPointTest {

    /**
    *用于测试:
    *
    */
    @Test
    public void test(){


        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext2.xml");
        testIterface testInter = context.getBean("testInter", testIterface.class);

        testInter.show();
    }
}
